package com.quick.common.dto;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 角色表
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserRoleDto implements Serializable {

	private static final long serialVersionUID = 1944360904305356288L;


	@JSONField(name ="id")
	private long id;

	@JSONField(name ="roleId")
	private String roleId;


	/**
	 * 角色名称
	 */
	@JSONField(name ="name")
	private String name;


	/**
	 * 角色描述
	 */
	@JSONField(name ="desc")
	private String desc;


	/**
	 * 是否启用
	 */
	@JSONField(name ="enabled")
	private long enabled;


	/**
	 * 创建时间
	 */
	@JSONField(name ="addTime")
	private java.sql.Timestamp addTime;


	/**
	 * 更新时间
	 */
	@JSONField(name ="updateTime")
	private java.sql.Timestamp updateTime;


	/**
	 * 逻辑删除
	 */
	@JSONField(name ="deleted")
	private long deleted;

}
